home *** CD-ROM | disk | FTP | other *** search
-
- /*
- * This file was generated by the SOM Compiler.
- * FileName: Locrian:WWDCSun:C:DragDrop.h.
- * Generated using:
- * SOM Precompiler somipc: somc/smemit.c
- * SOM Emitter emith.dll: somc/smmain.c
- */
-
- /*
- *
- * Classes defined in this interface
- *
- */
-
-
- #ifndef SOM_ODDragAndDrop_h
- #define SOM_ODDragAndDrop_h
-
-
- #include <som.h>
-
- /*
- * -- This emitter treats Method Tokens as Thunks by default
- * -- Use the sc modifier "nothunks" to change this default
- */
- #undef somresolve_
- #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
-
- /*
- * Define the class name as an object type
- */
- #ifndef ODDragAndDrop
- #define ODDragAndDrop SOMObject
- #endif
- #include <DragDrpB.h>
-
- /*
- * Start of user-defined types:
- */
- #ifndef ODExtension
- #define ODExtension SOMObject
- #endif /* ODExtension */
- #ifndef ODStorageSystem
- #define ODStorageSystem SOMObject
- #endif /* ODStorageSystem */
- #ifndef ODWindow
- #define ODWindow SOMObject
- #endif /* ODWindow */
- #ifndef ODSession
- #define ODSession SOMObject
- #endif /* ODSession */
- #ifndef ODStorageUnit
- #define ODStorageUnit SOMObject
- #endif /* ODStorageUnit */
- #ifndef ODWindowState
- #define ODWindowState SOMObject
- #endif /* ODWindowState */
- #ifndef ODPart
- #define ODPart SOMObject
- #endif /* ODPart */
- #ifndef ODStorageUnitView
- #define ODStorageUnitView SOMObject
- #endif /* ODStorageUnitView */
- #ifndef ODFacet
- #define ODFacet SOMObject
- #endif /* ODFacet */
- #ifndef ODDragItemIterator
- #define ODDragItemIterator SOMObject
- #endif /* ODDragItemIterator */
- #ifndef ODFrame
- #define ODFrame SOMObject
- #endif /* ODFrame */
-
- /*
- * End of user-defined types.
- */
-
- #define ODDragAndDrop_MajorVersion 1
- #define ODDragAndDrop_MinorVersion 0
-
- /*
- * External name shortening if required
- */
- #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
- #define ODDragAndDropNewClass c
- #define ODDragAndDropClassData d
- #define ODDragAndDropCClassData x
- #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
- /*--------------Migration------------*/
- #define ODDragAndDrop_classObj ODDragAndDropClassData.classObject
- #define _ODDragAndDrop ODDragAndDrop_classObj
-
- /*
- * Declare the class creation procedure
- */
-
- #if applec ^ PRAGMA_LIB_EXPORT
- #pragma lib_export on
- #endif
-
- SOMEXTERN SOMClass * SOMLINK ODDragAndDropNewClass(integer4 somtmajorVersion,
- integer4 somtminorVersion);
-
- /*
- * Declare the class data structure
- */
- SOMEXTERN struct ODDragAndDropClassDataStructure {
- SOMAny *classObject;
- somMToken GetDragAttributes;
- somMToken GetDragReference;
- somMToken MyDragTrackingHandler;
- somMToken MyReceiveDropHandler;
- somMToken MySendDataProc;
- somMToken FindTargetFacet;
- somMToken PromiseAEHandler;
- somMToken GetPromiseFromDragManager;
- somMToken GetDataFromDragManager;
- somMToken reserved1;
- }
- #ifdef SOM_NO_DATA_EXPORTS
- * ODDragAndDropGetClassData ( void );
- # undef ODDragAndDropClassData
- # define ODDragAndDropClassData (*ODDragAndDropGetClassData())
- #else
- ODDragAndDropClassData;
- #endif /* SOM_NO_DATA_EXPORTS */
-
- #if applec ^ PRAGMA_LIB_EXPORT
- #pragma lib_export off
- #endif
-
-
- /*
- * Declare the C specific class data structure
- */
- SOMEXTERN struct ODDragAndDropCClassDataStructure {
- somMethodTabs parentMtab;
- somDToken instanceDataToken;
- } ODDragAndDropCClassData;
-
- /*
- * New and Renew macros for ODDragAndDrop
- */
- #define ODDragAndDropNew() \
- ( ( ! (ODDragAndDropClassData.classObject) && \
- (ODDragAndDropNewClass(ODDragAndDrop_MajorVersion, ODDragAndDrop_MinorVersion)) ), \
- (_somNew(ODDragAndDropClassData.classObject)) )
- #define ODDragAndDropRenew(buf) \
- ( _somRenew(ODDragAndDropClassData.classObject, buf) )
-
- /*
- * Override method: somInit
- */
- #define ODDragAndDrop_somInit(somSelf) \
- SOMObject_somInit(somSelf)
-
- /*
- * Override method: somUninit
- */
- #define ODDragAndDrop_somUninit(somSelf) \
- SOMObject_somUninit(somSelf)
-
- /*
- * Override method: Clear
- */
- #define ODDragAndDrop_Clear(somSelf,ev) \
- ODBaseDragAndDrop_Clear(somSelf,ev)
-
- /*
- * Override method: GetContentStorageUnit
- */
- #define ODDragAndDrop_GetContentStorageUnit(somSelf,ev) \
- ODBaseDragAndDrop_GetContentStorageUnit(somSelf,ev)
-
- /*
- * Override method: StartDrag
- */
- #define ODDragAndDrop_StartDrag(somSelf,ev,srcFrame,imageType,image,destPart,refCon) \
- ODBaseDragAndDrop_StartDrag(somSelf,ev,srcFrame,imageType,image,destPart,refCon)
- #ifndef SOM_DONT_USE_INHERITED_MACROS
- #define ODDragAndDrop_InitObject ODObject_InitObject
- #define ODDragAndDrop_IsInitialized ODObject_IsInitialized
- #define ODDragAndDrop_HasExtension ODObject_HasExtension
- #define ODDragAndDrop_GetExtension ODObject_GetExtension
- #define ODDragAndDrop_ReleaseExtension ODObject_ReleaseExtension
- #define ODDragAndDrop_Purge ODObject_Purge
- #define ODDragAndDrop_SubClassResponsibility ODObject_SubClassResponsibility
- #define ODDragAndDrop_somFree SOMObject_somFree
- #define ODDragAndDrop_somGetClass SOMObject_somGetClass
- #define ODDragAndDrop_somGetClassName SOMObject_somGetClassName
- #define ODDragAndDrop_somGetSize SOMObject_somGetSize
- #define ODDragAndDrop_somIsA SOMObject_somIsA
- #define ODDragAndDrop_somIsInstanceOf SOMObject_somIsInstanceOf
- #define ODDragAndDrop_somRespondsTo SOMObject_somRespondsTo
- #define ODDragAndDrop_somDispatchV SOMObject_somDispatchV
- #define ODDragAndDrop_somDispatchL SOMObject_somDispatchL
- #define ODDragAndDrop_somDispatchA SOMObject_somDispatchA
- #define ODDragAndDrop_somDispatchD SOMObject_somDispatchD
- #define ODDragAndDrop_somDispatch SOMObject_somDispatch
- #define ODDragAndDrop_somClassDispatch SOMObject_somClassDispatch
- #define ODDragAndDrop_somPrintSelf SOMObject_somPrintSelf
- #define ODDragAndDrop_somDumpSelf SOMObject_somDumpSelf
- #define ODDragAndDrop_somDumpSelfInt SOMObject_somDumpSelfInt
- #endif /* SOM_DONT_USE_INHERITED_MACROS */
-
- #endif /* SOM_ODDragAndDrop_h */
-